let fieldType ={
   "tinyint":"tinyint",
   "smallint":"smallint",
   "int/integer":"int/integer",
   "bigint":"bigint",
   "float":"float",
   "double":"double",
   "decimal":"decimal",
   "date":"date",
   // "time":"time",
   // "year":"year",
   "datetime":"datetime",
   "timestamp":"timestamp",
   "char":"char",
   "varchar":"varchar",
   "tinyblob":"tinyblob",
   "tinytext":"tinytext",
   "blob":"blob",
   "text":"text",
   "mediumblob":"mediumblob",
   "mediumtext":"mediumtext",
   "longblob":"longblob",
   "longtext":"longtext"
}
 let typeList= [
   {value:"1",label:"只读"},
   {value:"2",label:"可读可导出"},
   {value:"3",label:"内容编辑"},
   {value:"4",label:"元数据编辑"},
   {value:"5",label:"管理权限"}
]
let safeLevelList=[
   {value:"1",label:"1"},
   {value:"2",label:"2"},
   {value:"3",label:"3"},
]
let gojsfigureColor={
   filedColor:' #5CCBFF',
   tableColor:"#84D8FF"
}
let changeTypeList=[
   {value: '1099', label: '元数据变更'},
   {value: '2099', label: '关联变更'},
   {value: '3099', label: '表单变更'},
   {value: '4099', label: '数据变更'},
   {value: '10', label: '元数据变更-新增'},
   {value: '11', label: '元数据变更-更改'},
   {value: '12', label: '元数据变更-删除'},
   {value: '20', label: '关联变更-新增'},
   {value: '21', label: '关联变更-更改'},
   {value: '22', label: '关联变更-删除'},
   {value: '30', label: '表单变更-新增'},
   {value: '31', label: '表单变更-更改'},
   {value: '32', label: '表单变更-删除'},
   {value: '33', label: '表单变更-复制'},
   {value: '40', label: '数据变更-新增'},
   {value: '41', label: '数据变更-更改'},
   {value: '42', label: '数据变更-删除'},
   {value: '43', label: '数据变更-查询'},
   {value: '44', label: '数据变更-导出'}
]
// let tableChangeList = [
//    {value: '1099', label: ''},
//    {value: '2099', label: '关联变更'},
//    {value: '3099', label: '表单变更'},
//    {value: '4099', label: '数据变更'},
//    {value: '10', label: '元数据变更-新增'},
//    {value: '11', label: '元数据变更-更改'},
//    {value: '12', label: '元数据变更-删除'},
//    {value: '20', label: '关联变更-新增'},
//    {value: '21', label: '关联变更-更改'},
//    {value: '22', label: '关联变更-删除'},
//    {value: '30', label: '表单变更-新增'},
//    {value: '31', label: '表单变更-更改'},
//    {value: '32', label: '表单变更-删除'},
//    {value: '33', label: '表单变更-复制'},
//    {value: '40', label: '数据变更-新增'},
//    {value: '41', label: '数据变更-更改'},
//    {value: '42', label: '数据变更-删除'},
// ]
let schemeStatusOption={ 0: '动态', 1: '静态' }
let schemeCycleOption={
   1: '实时更新',
   2: '每小时更新',
   3: '每日更新',
   4: '每月更新'
}
let filterFieldType =[
   {value:"equalTo",label:"等于"},
   {value:"notEqualTo",label:"不等于"},
   {value:"contain",label:"包含"},
   {value:"notContain",label:"不包含"},
   {value:"empty",label:"为空"},
   {value:"notEmpty",label:"不为空"},
   {value:"moreThan",label:"大于"},
   {value:"moreThanOrEqualTo",label:"大于等于"},
   {value:"lessThan",label:"小于"},
   {value:"lessThanOrEqualTo",label:"小于等于"}
]
module.exports = {
   typeList,
   fieldType,
   safeLevelList,
   gojsfigureColor,
   changeTypeList,
   schemeStatusOption,
   schemeCycleOption,
   filterFieldType
}
